package figure8.GUI;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.LayoutManager;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.Locale;

import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSlider;
import javax.swing.JToggleButton;
import javax.swing.border.BevelBorder;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;

import figure8.Controller;
import figure8.Track;
import figure8.WAVTrack;
import figure8.GUI.EffectWindow.Effect;

public class EffectPanel extends JPanel {
	private Effect effType;
	
	public EffectPanel(Effect effType, EffectWindow effWin) {
		super();
		this.effType = effType;
		this.setLayout(new BorderLayout());
		if(effType == Effect.DELAY)
			this.setPreferredSize(new Dimension(220, 140));
		else if(effType == Effect.REVERSE)
			this.setPreferredSize(new Dimension(220, 65));
		else
			this.setPreferredSize(new Dimension(220, 115));
	
	}
	
	public Effect getEffect() {return this.effType;}
	public double[] getSettings() {return null;}

}